package com.example.inventoryservice.task.nativetask;

public class MyRunnable implements Runnable{
    /**
     * Runs this operation.
     */
    @Override
    public void run() {
        try {
            Thread.sleep(300);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
        System.out.println("线程启动了通过Runnable：" + Thread.currentThread().getName());
    }
}
